<?php

/**
 * Link models
 *
 * Link models in bundles
 *
 * PHP Version: 1.2.3
 *
 * @author Johari <joharijumali@gmail.com>
 */

namespace Admin\Models\Navigation;

use \Laravel\Database\Eloquent\Model as Eloquent;

/**
 * Data Link Model Class
 *
 * Create model class for lookup data
 *
 * @author Johari <joharijumali@gmail.com>
 */

class Link extends Eloquent
{

    public static $timestamps = true;
    public static $table = 'sys_navigation_page';
    public static $key = 'snp_id';

	/**
     * Function modulpage
	 *
	 * @return modulpage.
     */
    public function modulpage()
    {
        return $this->has_one('Admin\Models\Modul\Page', 'smp_id');
    }

}

?>